package com.pro.common.api.model.request.pay;

import com.pro.framework.javatodb.annotation.JTDField;
import com.pro.framework.javatodb.annotation.JTDTable;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 支付订单表
 */
@Data
@Schema(description = "支付相关信息")
public class PaymentParams implements IPaymentParams {

    @Schema(description = "支付成功后用户页面跳转地址")
    private String returnUrl;

    @Schema(description = "支付渠道Id", example = "包含货币和支付方式相关信息")
    @JTDField(entityName = "pay.payChannel", entityClassKey = "id")
    private Long payChannelId;

    @Schema(description = "是否需要查询用户信息", defaultValue = "false")
    private Boolean userDetailRequired;
}
